projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eb1e7f
)
* lisp/json.el (json-new-object): Optimize trivial `list' call
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 28 Oct 2015 00:19:51 +0000
(20:19 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 28 Oct 2015 00:19:51 +0000
(20:19 -0400)
lisp/json.el
patch
|
blob
|
history
diff --git
a/lisp/json.el
b/lisp/json.el
index e2c7cc77222bbe8cb9bebd88fc3abe37344242ee..b23d12ad0ed0446c9806eec0bd3dea3eda6a9304 100644
(file)
--- a/
lisp/json.el
+++ b/
lisp/json.el
@@
-358,7
+358,7
@@
Please see the documentation of `json-object-type'."
(cond ((eq json-object-type 'hash-table)
(make-hash-table :test 'equal))
(t
- (
list
))))
+ ())))
(defun json-add-to-object (object key value)
"Add a new KEY -> VALUE association to OBJECT.